package net.sansi.v3correctserver.service.brightness.impl;

import net.sansi.v3correctserver.dto.v3serverapi.V3ServerApiBrightnessDto;
import net.sansi.v3correctserver.service.brightness.BrightnessService;
import net.sansi.v3correctserver.service.v3serverapi.V3ServerBrightnessApi;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class BrightnessServiceImpl implements BrightnessService {

    @Resource
    private V3ServerBrightnessApi v3ServerBrightnessApi;

    @Override
    public V3ServerApiBrightnessDto.bright bright(String screenId) {
        return v3ServerBrightnessApi.bright(screenId);
    }

    @Override
    public V3ServerApiBrightnessDto.updateResp brightUpdate(String screenId, V3ServerApiBrightnessDto.bright data) {
        return v3ServerBrightnessApi.brightUpdate(screenId, data);
    }

    @Override
    public V3ServerApiBrightnessDto.brightMethod brightMethod(String screenId) {
        return v3ServerBrightnessApi.brightMethod(screenId);
    }

    @Override
    public V3ServerApiBrightnessDto.updateResp brightMethodUpdate(String screenId, V3ServerApiBrightnessDto.brightMethod data) {
        return v3ServerBrightnessApi.brightMethodUpdate(screenId, data);
    }

    @Override
    public V3ServerApiBrightnessDto.brightCorrection brightCorrect(String screenId) {
        return v3ServerBrightnessApi.brightCorrect(screenId);
    }

    @Override
    public V3ServerApiBrightnessDto.updateResp brightCorrectUpdate(String screenId, V3ServerApiBrightnessDto.brightCorrection data) {
        return v3ServerBrightnessApi.brightCorrectUpdate(screenId, data);
    }
}
